//
//  LoginNet.h
//  beautyLamp
//
//  Created by Tam Kwok To Michael on 2017/8/9.
//  Copyright © 2017年 Tam Kwok To Michael. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface LoginNet : NSObject

+ (void)postWithTel:(NSString *) tel password:(NSString *)password loginType:(BOOL) isCode completer:(void(^)(id resultObjec,NSError *error))completer;
+ (void)weChatLoginGetToken:(NSString *)code completer:(void(^)(id result, NSError *error))completer;

+ (void)QQLoginToken:(NSString *)token openID:(NSString *)openid completer:(void(^)(id resultObject, NSError *error))completer;
+ (void)WEIBOLoginToken:(NSString *)token openID:(NSString *)openid completer:(void(^)(id resultObject, NSError *error))completer;
+ (void)postRegister:(NSDictionary *)param completer:(void (^)(id resultObject, NSError *error))completer;

+ (void)getCodeWithTel:(NSString *)tel codeType:(NSInteger) codeType completer:(void(^)(id resultObject, NSError *error))completer;

+ (void)resetPWd:(NSDictionary *)param completer:(void (^)(id resultObject, NSError *error))completer;

@end
